<% form_for [:admin, @administrator], :url => path do |form| %>
  <table class="data2 data3" cellspacing="0">
    <tr>
      <th><%= form.label Administrator.human_attribute_name("name") %>：</th>
      <td> <%= form.text_field :name, :maxlength => 50, :size => 40 %><span class="note2">&nbsp;必须</span>
        <%= error_message_on :administrator, :name %></td>
    </tr>
    <tr>
      <th><%= form.label Administrator.human_attribute_name("password") %>：</th>
      <td> <%= form.text_field :password, :maxlength => 50, :size => 40 %><span class="note2">&nbsp;必须</span>
        <%= error_message_on :administrator, :password %></td>
    </tr>
    <tr>
      <th><%= form.label Administrator.human_attribute_name("password_confirmation") %>：</th>
      <td> <%= form.text_field :password_confirmation, :maxlength => 50, :size => 40 %><span class="note2">&nbsp;必须</span>
        <%= error_message_on :administrator, :password_confirmation %></td>
    </tr>
    <tr><td  class="center" colspan="2"><%= form.submit t('labels.save'), :class => 'btn_s' %></td></tr>
  </table>
<% end %>
<div class="link-right">
  <%= link_to '返 回', admin_administrators_path, :class=>"link_s"%>
</div>